<!DOCTYPE html>
<html  lang="zh-CN">
<head>
    <!--<meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">-->
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
    <meta content=always name=referrer>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <title>{$mate_head}</title>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/swiper.min.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/public.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/base.css">
    <script src="__STATIC__/js/jquery-1.11.3.min.js"></script>
    <script src="__STATIC__/js/bootstrap.min.js"></script>
    <script src="__STATIC__/js/swiper.min.js"></script>
    <script src="__STATIC__/js/common.js"></script>
    <script src="__STATIC__/js/jquery.form.min.js"></script>
    <script src="__STATIC__/layer/layer.js"></script>
    <script src="__STATIC__/js/Validform_v5.3.2_min.js"></script>
    <script src="__STATIC__/js/Validform_Datatype.js"></script>
    <script src="__STATIC__/dialog/js/mh_dialog.js"></script>
    <script>
        $(function () {
            $("a").bind("focus",function() {
                if(this.blur) {this.blur()};
            });
            $(".header .menu>div .list li").click(
                    function () {
                        $(this).addClass("active").siblings().removeClass("active");
                    }
            );
            $(".header .menu>div .type").mouseover(
                    function () {
                        $(this).find(".menu-group").css({display:"block"});
                    }
            );
            $(".header .menu>div .type>div").mouseout(
                    function () {
                        $(this).css({display:"none"});
                    }
            );
        })
    </script>

</head>
<body style="background: #FAFAFA;">
<div class="wrap">
    <div class="header">
        <div class="header-login">
            <div class="menu-bar">
                <div>欢迎来到{:cache('web_name')}，{if condition="session('member_id')"}尊敬的：{:session('member_name')}<a href="{:url('login/logout')}" class="register"> 注销登录 </a>{else/}<a href="{:url('login/index')}" class="login"> 请登录 </a> <a href="{:url('login/register')}" class="register"> 免费注册 </a>{/if}</div>
                <ul>
                    <li><a href="#"><span>客服服务</span></a></li>
                    {if condition="session('member_id')"}
                    <li><a href="{:url('shop/memberOrder/index')}"><span>我的订单</span></a></li>
                    {else/}
                    <li><a href="{:url('shop/login/index')}"><span>我的订单</span></a></li>
                    {/if}
                    <li class="collect">{if condition="session('member_id')"}<a href="{:url('information/my_collect')}">{else/}<a href="{:url('login/index')}">{/if}<span>我的收藏</span></a></li>
                    <li><a href="{:url('client/login/index')}"><span>商家平台</span></a></li>
                    <li><a href="javascript:mobile_png()"><img src="__STATIC__/img/new_icon1.png" class="icon"><span>{:cache('web_name')}手机版</span></a></li>

                </ul>
            </div>
        </div>
        <div class="logo">
            <img src="__STATIC__/img/logo_ishop.png" class="logo-icon" onclick="document.location.href='{:url('Index/index')}'">
            <div class="search">
                <div class="input_search">
                    <input type="text" id="search_name" value="">
                    <label class="label_1"><a href="javascript:search_goods();">搜商品</a></label>
                    <label class="label_2"><a href="javascript:search_shop();">搜店铺</a></label>
                </div>
                <div class="tips">
                    {volist name=":explode(',',cache('web_hot_search'))" id="vo"}<a href="javascript:search_hot('{$vo}');">{$vo}  </a>{/volist}
                </div>
            </div>
            <div class="cart">
                {if condition="session('member_id')"}
                <a href="{:url('ShopCart/index')}">
                    <img src="__STATIC__/img/cart.png" class="cart_img">
                    <div>我的购物车</div>
                </a>
                {else/}
                <a href="{:url('Login/index')}">
                    <img src="__STATIC__/img/cart.png" class="cart_img">
                    <div>我的购物车</div>
                </a>
                {/if}
            </div>
        </div>